docs: Add a diagram for GtkListBox nodes
authorEmmanuele Bassi <ebassi@gnome.org>
Tue, 20 Sep 2016 22:32:00 +0000 (23:32 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Tue, 20 Sep 2016 22:32:00 +0000 (23:32 +0100)
GtkListBox's API reference for CSS nodes should follow the template of
other widget classes.

gtk/gtklistbox.c

index 3adb904b539172518e142ab2000e295e239ed369..026911509e167a27a45bd831843413a5645c48c3 100644 (file)
  *
  * # CSS nodes
  *
- * GtkListBox uses a single CSS node with name list. GtkListBoxRow uses
- * a single CSS node with name row. The row nodes get the .activatable
+ * |[<!-- language="plain" -->
+ * list
+ * ╰── row[.activatable]
+ * ]|
+ *
+ * GtkListBox uses a single CSS node named list. Each GtkListBoxRow uses
+ * a single CSS node named row. The row nodes get the .activatable
  * style class added when appropriate.
  */